﻿using System;

namespace MessagePack.Decoders
{
	// Token: 0x020000F4 RID: 244
	internal class ReadNextBin16 : IReadNextDecoder
	{
		// Token: 0x0600037B RID: 891 RVA: 0x0000C8A6 File Offset: 0x0000ACA6
		private ReadNextBin16()
		{
		}

		// Token: 0x0600037C RID: 892 RVA: 0x0000C8B0 File Offset: 0x0000ACB0
		public int Read(byte[] bytes, int offset)
		{
			int num = (int)bytes[offset + 1] << 8 | (int)bytes[offset + 2];
			return num + 3;
		}

		// Token: 0x0400010D RID: 269
		internal static readonly IReadNextDecoder Instance = new ReadNextBin16();
	}
}
